//
//  CustomLabel.h
//  棒棒哒
//
//  Created by rimi on 15/8/4.
//  Copyright (c) 2015年 rimi. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CustomLabel : UILabel




+ (UILabel *)labelWithFrame:(CGRect)frame
                       Text:(NSString *)text
                   FontSize:(CGFloat)fontSize
              TextAlignment:(NSTextAlignment)textAlignment
                  TextColor:(UIColor *)textColor
            BackGroundColor:(UIColor *)backColor
               CornerRadius:(CGFloat)radius
                BorderWidth:(CGFloat)width
                BorderColor:(UIColor *)borderColor;



+ (UILabel *)labelWithOrigin:(CGPoint)origin//初始位置
                        Text:(NSString *)text
                    FontSize:(CGFloat)fontSize
               TextAlignment:(NSTextAlignment)textAlignment
                   TextColor:(UIColor *)textColor
             BackGroundColor:(UIColor *)backColor
                CornerRadius:(CGFloat)radius
                 BorderWidth:(CGFloat)width
                 BorderColor:(UIColor *)borderColor
                 finalY:(void(^)(CGFloat finalY))finalY;//回调label最终Y位置




@end
